[INFO] cloning repository https://github.com/twissel/bench-locks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twissel/bench-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwissel%2Fbench-locks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwissel%2Fbench-locks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 984b1c6832478652efbbdc3cc3bc9a1f842cfd10
[INFO] checking twissel/bench-locks against try#d57d2d63e6f308d854fedbafd91d7721b7c651af for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwissel%2Fbench-locks" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/twissel/bench-locks on toolchain d57d2d63e6f308d854fedbafd91d7721b7c651af
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/twissel/bench-locks
[INFO] finished tweaking git repo https://github.com/twissel/bench-locks
[INFO] tweaked toml for git repo https://github.com/twissel/bench-locks written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/twissel/bench-locks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd91f04f90b361c98a80cdc60d7a958131fa305cbc80321f92551828a62e1fb3
[INFO] running `Command { std: "docker" "start" "-a" "cd91f04f90b361c98a80cdc60d7a958131fa305cbc80321f92551828a62e1fb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd91f04f90b361c98a80cdc60d7a958131fa305cbc80321f92551828a62e1fb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd91f04f90b361c98a80cdc60d7a958131fa305cbc80321f92551828a62e1fb3", kill_on_drop: false }`
[INFO] [stdout] cd91f04f90b361c98a80cdc60d7a958131fa305cbc80321f92551828a62e1fb3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10c9c911c8b4774b3f1b7990a92393737de2dcf9a0506e7c1748aea015effb13
[INFO] running `Command { std: "docker" "start" "-a" "10c9c911c8b4774b3f1b7990a92393737de2dcf9a0506e7c1748aea015effb13", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling proc-macro2 v1.0.2
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling getrandom v0.1.11
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking tracing-core v0.1.5
[INFO] [stderr]     Checking lock_api v0.3.1
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking async-task v1.0.0
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.19
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]     Checking tokio-io v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking tokio-codec v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.9
[INFO] [stderr]    Compiling tracing-attributes v0.1.2
[INFO] [stderr]    Compiling tokio-macros v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]    Compiling async-trait v0.1.11
[INFO] [stderr]     Checking tracing v0.1.7
[INFO] [stderr]    Compiling futures-join-macro-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling futures-select-macro-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking tokio-sync v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-timer v0.3.0
[INFO] [stderr]     Checking async-std v0.99.4
[INFO] [stderr]     Checking tokio-executor v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking tokio-fs v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking tokio-timer v0.3.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking tokio-net v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking tokio v0.2.0-alpha.4 (https://github.com/tokio-rs/tokio#9766cd64)
[INFO] [stderr]     Checking async-learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:136:57
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 futures.push(executor.spawn_with_handle(fut).unwrap());
[INFO] [stdout]     |                                                         ^^^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:135:53
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        -------      ^^^^^^ - `counter` is later dropped here
[INFO] [stdout]     |                                        |            |
[INFO] [stdout]     |                                        |            await occurs here, with `counter` maybe used later
[INFO] [stdout]     |                                        has type `&C` which is not `Send`
[INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow
[INFO] [stdout]    --> src/main.rs:135:40
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `<(dyn Executor + 'static)>::spawn_with_handle`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/tokio-377c595163f99a10/9766cd6/tokio-executor/src/executor.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 |         Fut: Future + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `<dyn Executor>::spawn_with_handle`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn test<C: CounterTrait + std::marker::Sync>(
[INFO] [stdout]     |                               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:136:57
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 futures.push(executor.spawn_with_handle(fut).unwrap());
[INFO] [stdout]     |                                                         ^^^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:135:53
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        -------      ^^^^^^ - `counter` is later dropped here
[INFO] [stdout]     |                                        |            |
[INFO] [stdout]     |                                        |            await occurs here, with `counter` maybe used later
[INFO] [stdout]     |                                        has type `&C` which is not `Send`
[INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow
[INFO] [stdout]    --> src/main.rs:135:40
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let fut = async move { counter.get().await };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `<(dyn Executor + 'static)>::spawn_with_handle`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/tokio-377c595163f99a10/9766cd6/tokio-executor/src/executor.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 |         Fut: Future + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `<dyn Executor>::spawn_with_handle`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn test<C: CounterTrait + std::marker::Sync>(
[INFO] [stdout]     |                               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:143:57
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 futures.push(executor.spawn_with_handle(fut).unwrap());
[INFO] [stdout]     |                                                         ^^^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:140:41
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     -------             ^^^^^^- `counter` is later dropped here
[INFO] [stdout]     |                     |                   |
[INFO] [stdout]     |                     |                   await occurs here, with `counter` maybe used later
[INFO] [stdout]     |                     has type `&C` which is not `Send`
[INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow
[INFO] [stdout]    --> src/main.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `<(dyn Executor + 'static)>::spawn_with_handle`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/tokio-377c595163f99a10/9766cd6/tokio-executor/src/executor.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 |         Fut: Future + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `<dyn Executor>::spawn_with_handle`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn test<C: CounterTrait + std::marker::Sync>(
[INFO] [stdout]     |                               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:143:57
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 futures.push(executor.spawn_with_handle(fut).unwrap());
[INFO] [stdout]     |                                                         ^^^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/main.rs:140:41
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     -------             ^^^^^^- `counter` is later dropped here
[INFO] [stdout]     |                     |                   |
[INFO] [stdout]     |                     |                   await occurs here, with `counter` maybe used later
[INFO] [stdout]     |                     has type `&C` which is not `Send`
[INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow
[INFO] [stdout]    --> src/main.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     counter.set(new_val).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `<(dyn Executor + 'static)>::spawn_with_handle`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/tokio-377c595163f99a10/9766cd6/tokio-executor/src/executor.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 |         Fut: Future + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `<dyn Executor>::spawn_with_handle`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn test<C: CounterTrait + std::marker::Sync>(
[INFO] [stdout]     |                               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-learn` (bin "async-learn" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `async-learn` (bin "async-learn") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "10c9c911c8b4774b3f1b7990a92393737de2dcf9a0506e7c1748aea015effb13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10c9c911c8b4774b3f1b7990a92393737de2dcf9a0506e7c1748aea015effb13", kill_on_drop: false }`
[INFO] [stdout] 10c9c911c8b4774b3f1b7990a92393737de2dcf9a0506e7c1748aea015effb13
